package com.qf.springbootssm.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author manchi520
 * @date 2022/7/7
 * @apiNote
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AddUserVo {
    private String name;
    private String password;
    private String sex;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date birthday;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date registTime;
}
